<link rel="stylesheet" href="/assets/css/common.css"/>
<link rel="stylesheet" href="/assets/css/security.css"/>
<link rel="stylesheet" href="/assets/css/menu.css"/>
<link rel="stylesheet" href="/assets/css/ico-topbar-white.css"/>
<link rel="stylesheet" href="/assets/css/bottom.css"/>

<@extends name="/project/ico-topbar-white.ftl"/>
<div class="all">
    <@extends name="/project/menu.ftl"/>
    <div class="content">
        <div class="inve-title clearfix">
            <i></i>
            <h3>安全中心</h3>
        </div>
        <div class="content-detail">
            <div class="row clearfix">
                <div class="logo">
                    <img src="/assets/img/bx-index/email.png" alt="" class="logo-email">
                </div>
                <div class="item">
                    <p class="line-half">邮箱验证</p>
                    <span>${model.email}</span>
                </div>
                <p class="introduce">用于提币、找回密码、修改安全设置、管理API时进行安全验证。</p>
                <#if model.emailStatus == 0>
                    <div class="state">
                        <a href="javascript:void(0)" class="to-verify to-send-email">点击发送验证邮件</a>
                    </div>
                <#else>
                    <div class="state">
                        <a class="bind">已认证</a>
                    </div>
                </#if>
            </div>
            <div class="row clearfix">
                <div class="logo">
                    <img src="/assets/img/bx-index/verify.png" alt="" class="logo-verify">
                </div>
                <div class="item">
                    <p class="line-all">实名认证</p>
                </div>
                <p class="introduce">身份认证未完成将不能在网站进行任意操作。</p>
                <#if model.idcardStatus == 0>
                    <div class="state">
                        <a href="/verify?viewType=page" class="to-verify">去认证</a>
                    </div>
                </#if>
                <#if model.idcardStatus == 1>
                    <div class="state">
                        <a class="ver">已认证</a>
                    </div>
                </#if>
                <#if model.idcardStatus == 2>
                    <div class="state">
                        <a class="ver">审核中</a>
                    </div>
                </#if>
                <#if model.idcardStatus == 3>
                    <div class="state">
                        <a href="/verify?viewType=page" class="to-verify">认证失败，请重新认证</a>
                    </div>
                </#if>

            </div>
            <div class="row clearfix">
                <div class="logo">
                    <img src="/assets/img/bx-index/mobile.png" alt="" class="logo-mobile">
                </div>
                <div class="item">
                    <#if model.mobile>
                        <p class="line-half">手机绑定</p>
                        <span>${model.mobile}</span>
                    <#else>
                        <p class="line-all">手机绑定</p>
                    </#if>
                </div>
                <p class="introduce">绑定手机号码，可及时收到操作动态提醒并监控账号安全。</p>
            <#if model.moblieStatus == 0>
                <div class="state">
                    <a href="javascript:void(0)" class="to-verify bind-mobile-btn">去绑定</a>
                </div>
            <#else>
                <div class="state">
                    <a href="javascript:void(0)" class="modified modified-mobile bind">修改手机号</a>
                </div>
            </#if>
            </div>
            <div class="row clearfix">
                <div class="logo">
                    <img src="/assets/img/bx-index/password.png" alt="" class="logo-password">
                </div>
                <div class="item">
                    <p class="line-all">登录密码</p>
                </div>
                <p class="introduce">此密码仅限作网站登录使用，请您牢记。</p>
                <div class="state">
                    <a href="/user-pwd?viewType=page" class="bind modified"  style="background:#b58f56">修改密码</a>
                </div>
            </div>
            <div class="row clearfix">
                <div class="logo">
                    <img src="/assets/img/bx-index/google.png" alt="" class="logo-google">
                </div>
                <div class="item">
                    <p class="line-all">谷歌两步验证</p>
                </div>
                <p class="introduce">两步验证为您的帐户额外添加了一层保护。</p>
                <div class="state">
                <#if googleStatus==0>
                    <a href="/user/google_setting?viewType=page" class="modified set-up"  style="background:#b58f56">去设置</a>
                <#else>
                    <a href="javascript:void(0)" class="modified set-up remove"  style="background:#b58f56">解除</a>
                </#if>
                </div>
            </div>
            <div class="row clearfix remove-goo">
                <div class="remove-google">
                    <span>谷歌验证密码：</span>
                    <input type="text" class="g-password">
                    <a href="javascript:void(0)" class="remove-btn">解除谷歌验证</a>
                </div>
                <p class="err-info"></p>
            </div>
        </div>
    </div>
</div>
<div class="email-cover">

</div>
<div class="email-main">
    <img src="/assets/img/forget/ok-big.png" alt="">
    <h5>发送成功！</h5>
    <p>请前往邮箱点击认证</p>
    <a href="javascript:void(0)" class="email-ok">确定</a>
</div>
<div class="mobile-cover">

</div>
<div class="mobile-main">
    <img src="/assets/img/bx-index/mobile-cover.png" alt="">
    <p>绑定/修改手机号</p>
    <input type="text" class="mobile">
    <div class="get-code">
        <input type="text" class="code">
        <#--<a href="javascript:void(0)" class="to-code">获取验证码</a>-->
        <input type="button" class="to-code" value="获取验证码">
    </div>
    <p class="err-info"></p>
    <a href="javascript:void(0)" class="bind-btn">确定</a>
</div>
<#--<@extends name="/project/bottom.ftl"/>-->

<script src="/assets/script/jquery-1.8.2.min.js"></script>
<script src="https://cdn.bootcss.com/handlebars.js/4.0.11/handlebars.js"></script>
<script src="https://cdn.bootcss.com/jquery.form/4.2.2/jquery.form.js"></script>
<script src="https://cdn.bootcss.com/seajs/3.0.2/sea.js"></script>
<script src="/assets/script/ajaxfileupload.js"></script>
<script src="/assets/script/common.js"></script>
<script src="/assets/script/security.js"></script>
<script src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.js"></script>